using System;
namespace BMC.ARSystem
{
	internal class XMLIntegerWriter : XMLDataTypeWriter
	{
		internal XMLIntegerWriter()
		{
		}
		internal override string WriteValue(object obj)
		{
			if (obj is Array)
			{
				uint num = Convert.ToUInt32(((object[])obj)[0]);
				int num2 = Convert.ToInt32(((object[])obj)[1]);
				if (num == 2u || num == 6u || num == 13u || num == 7u || num == 14u)
				{
					return Convert.ToInt32(num2).ToString();
				}
			}
			return Convert.ToInt32(obj).ToString();
		}
	}
}
